import { createStore } from 'vuex'

export default createStore({
    state: {
        ip: "212.64.11.29",    //服务器IP
        port: 3000,
        ThemeColor: localStorage.getItem('ThemeColor') || 'green' // 主题色
    },
    mutations: {
        setThemeColor(data, value) {
            localStorage.setItem('ThemeColor', value)
        }
    },
    actions: {
    },
    modules: {
    }
})